{include file="common/header" title="首页" css="xw-ui" /}
<nav class="navbar navbar-inverse top-menu">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">飞鱼管理平台</a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">控制台</a></li>
                <!--<li><a href="#">小程序</a></li>-->
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <!--<li><a href="#">超级管理员</a></li>-->
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{$userName} <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">个人信息</a></li>
                        <li><a href="#">切换账户</a></li>
                        <li><a href="./admin-login-out">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="side-menu">
    <ul class="side-menu-box">
        {foreach $menu as $k => $v}
        <li class="side-menu-item">
            <div class="side-menu-title">
                <span class="glyphicon {$v.menu_icon} side-menu-icon-left"></span>
                {$v.menu_name}
                <span class="glyphicon glyphicon-triangle-right side-menu-icon-right"></span>
            </div>
            <ul class="side-menu-child-item" style="display: none">
                {foreach $v.second as $ks => $vs}
                <li class="side-menu-child-item-li" data-href="admin/{$vs.controller}/{$vs.method}">{$vs.menu_name}</li>
                {/foreach}
            </ul>
        </li>
        {/foreach}
    </ul>
</div>
<div class="main">
    <div class="tab-box">
        <ul>
            <li class="tab-box-item tab-box-item-select" data-href="https://www.luxuewen.com">
                <span class="html-title">系统首页</span>
            </li>
        </ul>
    </div>
    <div class="view-box">
        <div class="html-box">
            <iframe src="https://www.luxuewen.com"></iframe>
        </div>
    </div>
</div>

{include file="common/footer" js="xw-ui" /}